import Vue from 'vue'
import VueRouter from 'vue-router'
import Cart from '../views/cart.vue'
Vue.use(VueRouter)

const router = new VueRouter({
  routes: [
    { path: '/', redirect: '/cart' },
    {
      path: '/cart',
      component: Cart
    }
  ]
})

export default router
